package ooday01;

public class StudentTest1 {
    public static void main(String[] args) {
        /*
        Student1 ls = new Student1();
        String name = "李四";
        int age = 18;
        String className = "jsd2302";
        String stuId = "002";


        ls.study();
        ls.sayHi();
        ls.playWith("张三");

        Student1 zs = new Student1("张三",18,"jsd2302","001");

        zs.study();
        zs.sayHi();
        zs.playWith("李四");

         */


        Student1 zs = new Student1();
        String name = "张三";
        int age = 16;
        String className = "jsd2302";
        String stuId = "001";

        zs.study();
        zs.sayHi();
        zs.playWith("李四");


        Student1 ls = new Student1("李四",19,"jsd2302","002");

        ls.study();
        ls.sayHi();
        ls.playWith("张三");


    }
}
